package ru.kruzhki.client.gin;

import ru.kruzhki.client.ui.addcompany.AddCompanyPresenter;
import ru.kruzhki.client.ui.main.MainPagePresenter;
import ru.kruzhki.client.ui.searchresults.SearchResultsPresenter;

import com.google.gwt.inject.client.AsyncProvider;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.dispatch.client.gin.DispatchAsyncModule;
import com.gwtplatform.mvp.client.proxy.PlaceManager;

@GinModules({ DispatchAsyncModule.class, ClientModule.class })
public interface ClientGinjector extends Ginjector {

	EventBus getEventBus();

	PlaceManager getPlaceManager();

	AsyncProvider<MainPagePresenter> getMainPagePresenter();

	AsyncProvider<SearchResultsPresenter> getResponsePresenter();
	AsyncProvider<AddCompanyPresenter> getAddCompanyPresenter();
}
